class CreateFeeds < ActiveRecord::Migration
  def self.up
    create_table :feeds do |t|
      t.column :url, :string, :null => false
      t.column :invalid, :boolean, :default => false, :null => false
      t.column :title, :string
      t.column :link, :string, :limit => 500
      t.column :created_at, :datetime
      t.column :updated_at, :datetime
    end

  end

  def self.down
    drop_table :feeds
  end
end

